<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button>点我</button>
    <button>给劳资点！！！！</button>
    <!-- <div class="container"></div> -->
    <script>
    //     var containerE = document.querySelector(".container")
    //     var arg = window.location.search
    //     console.log(arg)
    //     var xx = FSearch(arg)
    //     console.log(xx)
    //     function FSearch(str){
    //         str = str.substr(1)
    //         var arr = str.split("&")
    //         // console.log(arr)
    //         var obj = {}
    //         arr.forEach(function(item){
    //             var num = item.split("=")
    //             obj[num[0]]=num[1]
    //         })
    //         return obj
    //     }
    // containerE.innerHTML = `num1是${xx.num1}num2是${xx.num2}`


    var btn = document.querySelectorAll("button")
    btn[0].onclick = function(){
        window.history.back()
    }
    btn[1].onclick = function(){
        window.location.href="./c.html"
    }

    </script>
</body>

</html>